package com.macro.mall.dto.ums;

import com.macro.mall.common.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 修改会员请求Dto
 *
 * @author xuyanjun
 * @date 2020-01-04
 */
@Valid
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class UpdateBefIdReqDto extends BaseRequestDto {

    /**
     *
     */
    @ApiModelProperty(value = "")
    @NotNull(message = "不能为空。")
    private Long id;


    /**
     * 上级id
     */
    @ApiModelProperty(value = "上级id")
    @NotNull(message = "上级id。")
    private Long befId;

}
